<template>
    <div>
        <div id="container"></div>
    </div>
</template>
<script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&&type=webgl&ak=8FptXOaoyZjfIsMcWPyqHPjVn6xFzHs8">
</script>
<script>
export default {
    created() {
        var map = new BMapGL.Map("container");
        var point = new BMapGL.Point(116.404, 39.915);
        map.centerAndZoom(point, 15);
    }
};
</script>
